package com.zsw.example08;
//儿子喜欢
public class Sonlike implements IDadLike,IMonLike{
    public void ride(){
        System.out.println("骑车~~");
    }
    public void basketball(){
        System.out.println("打篮球~~");
    }
    public void sing(){
        System.out.println("唱歌~~~~");
    }
    public void dance(){
        System.out.println("跳舞~~");
    }

    public static void main(String[] args) {
        System.out.println("儿子喜欢做：");
        Sonlike sonlike = new Sonlike();
        sonlike.ride();//骑车
        sonlike.basketball();//打篮球
        sonlike.sing();//唱歌
        sonlike.dance();//跳舞
    }

}
